package grammatica;

public class Term {
	
	protected String name;

	public String print() {
		return name;
	}
	
	public String getName(){
		return name.trim();
	}
	
	public boolean equals(Object o){
		return (o.getClass() == this.getClass() && ((Term)o).getName().equals(name));
	}

}
